<?php
$home_about = $tc->home_about(192);
$row_about = mysql_fetch_array($home_about);
$view_post = '<div id="home_about">
<h1>'.$row_about['name'].'</h1>
<img src="images/home_about.jpg" alt="Giới thiệu thép hình xây dựng" /><h2>'.$row_about['description'].'</h2><p style="float:right"><a href="'.$tc->link_detail($row_about['menu_id']).$row_about['name_rewrite'].'.html">Xem thêm...</a></p></div>';

$view_post .= '<div class="list_product"><div class="title">SẢN PHẨM TIÊU BIỂU</div>';
$home_product = $tc->home_product();
while($row_product = mysql_fetch_array($home_product)){
	$view_post .= '<div class="item">
    	<a href="'.$tc->link_detail($row_product['menu_id']).$row_product['name_rewrite'].'.html" title="'.$row_product['name'].'"><h4>'.$row_product['name'].'</h4>
        <img src="'.url_product_thumb_image.$row_product['url_hinh'].'" alt="'.$row_product['name'].'" /></a>
        <h6>'.$row_product['company'].'</h6>
    </div>';
}
$view_post .= '</div>';